<template>
	<van-tabbar :model-value="route.path" route fixed z-index="2000" v-if="route.meta.menu">
		<van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
		<van-tabbar-item icon="apps-o" to="/category">分类</van-tabbar-item>
		<van-tabbar-item icon="shopping-cart-o" to="/cart">购物车</van-tabbar-item>
		<van-tabbar-item icon="manager-o" to="/business">我的</van-tabbar-item>
	</van-tabbar>
</template>

<script setup>
const route = useRoute();
</script>
